/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   14-12-23 上午10:46 Created by dwzhang
 */
package com.jade.bss.beacon;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Beacon设备型号管理.
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 14-12-23 上午10:46
 */
@Entity
@Table (name = "BSS_BEACON_MODEL")
public class BeaconModel
        implements Serializable
{
    @Id
    @Column (name = "id", length = 16)
    private String id;
    @Column (name = "name", length = 32)
    private String name;
    @Column (name = "hardware_version")
    private int hardwareVersion;
    @Column (name = "battery_type")
    private int batteryType;
    @Column (name = "remark", length = 64)
    private String remark;

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public int getHardwareVersion()
    {
        return hardwareVersion;
    }

    public void setHardwareVersion(int hardwareVersion)
    {
        this.hardwareVersion = hardwareVersion;
    }

    public int getBatteryType()
    {
        return batteryType;
    }

    public void setBatteryType(int batteryType)
    {
        this.batteryType = batteryType;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setRemark(String remark)
    {
        this.remark = remark;
    }
}
